@(startForm:Form[String])(implicit request: RequestHeader, messages: Messages, env: securesocial.core.RuntimeEnvironment)
@import helper._
@import securesocial.core.IdentityProvider
@implicitFieldConstructor = @{ FieldConstructor(securesocial.views.html.inputFieldConstructor.f) }

@securesocial.views.html.main( Messages("securesocial.password.title") ) {
    <div class="page-header">
        <h1>@Messages("securesocial.password.title")</h1>
    </div>

    @request.flash.get("error").map { msg =>
    <div class="alert alert-error">
        @Messages(msg)
    </div>
    }

    <form action="@env.routes.handleStartResetPasswordUrl"
          class="form-horizontal"
          autocomplete="off"
          method="POST"
    >
        <fieldset>
            @CSRF.formField
            @helper.inputText(
            startForm("email"),
            '_label -> Messages("securesocial.signup.email1"),
            'class -> "input-xlarge"
            )

            <div class="form-actions">
                <button type="submit" class="btn btn-primary">@Messages("securesocial.password.reset")</button>
                <a class="btn" href="@env.routes.loginPageUrl">@Messages("securesocial.signup.cancel")</a>
            </div>

        </fieldset>
    </form>
}